package com.uwlaser.service.dto;

import lombok.Getter;
import lombok.Setter;
import java.util.List;
import java.util.Date;
import com.uwlaser.annotation.Query;
import org.springframework.format.annotation.DateTimeFormat;

/**
* @author zk-Qin
* @date 2022-05-11
*/
@Getter
@Setter
public class DataCourseParamHistoryQueryParam{

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String productSn;

    /** 精确 */
    @Query
    private String productCode;

    /** 精确 */
    @Query
    private String productType;

    /** 精确 */
    @Query
    private String orderCode;

    /** 精确 */
    @Query
    private String workOrderCode;

    /** 精确 */
    @Query
    private String lienCode;

    /** 精确 */
    @Query
    private String sectionCode;

    /** 精确 */
    @Query
    private String stationCode;

    /** 精确 */
    @Query
    private String operationCode;

    /** 精确 */
    @Query
    private String deviceCode;

    /** 精确 */
    @Query
    private String paramResult;

    /** 精确 */
    @Query
    private String paramCode;

    /** 模糊 */
    @Query(type = Query.Type.INNER_LIKE)
    private String paramName;

    /** 精确 */
    @Query
    private String paramValue;

    /** 精确 */
    @Query
    private String paramRange;

    /** 精确 */
    @Query
    private String paramUnit;

    /** 精确 */
    @Query
    private Integer paramNumber;

    /** 精确 */
    @Query
    private String createBy;

    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> createTime;
    /** BETWEEN */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Query(type = Query.Type.BETWEEN)
    private List<Date> updateTime;
}
